package com.yanqu.road.entity.log.langyabang;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_lang_ya_draw_log")
public class LogLangYaBangDraw {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "旧体力")
    private int oldPower;
    @FieldTypeAnnotation(desc = "消耗体力 同体力倍率")
    private int powerUse;
    @FieldTypeAnnotation(desc = "新体力")
    private int newPower;
    @FieldTypeAnnotation(desc = "事件id")
    private int drawEventId;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "老金币")
    private long oldCoin;
    @FieldTypeAnnotation(desc = "获得金币")
    private long getCoin;
    @FieldTypeAnnotation(desc = "新金币")
    private long newCoin;
    @FieldTypeAnnotation(desc = "自己的建筑状态")
    private String building;
    @FieldTypeAnnotation(desc = "时间")
    private Date time;

    public LogLangYaBangDraw(int activityId, long userId, int oldPower, int powerUse, int newPower, int drawEventId, String reward, long oldCoin, long getCoin, long newCoin, String building, Date time) {
        this.activityId = activityId;
        this.userId = userId;
        this.oldPower = oldPower;
        this.powerUse = powerUse;
        this.newPower = newPower;
        this.drawEventId = drawEventId;
        this.reward = reward;
        this.oldCoin = oldCoin;
        this.getCoin = getCoin;
        this.newCoin = newCoin;
        this.building = building;
        this.time = time;
    }



    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getOldPower() {
        return oldPower;
    }

    public void setOldPower(int oldPower) {
        this.oldPower = oldPower;
    }

    public int getPowerUse() {
        return powerUse;
    }

    public void setPowerUse(int powerUse) {
        this.powerUse = powerUse;
    }

    public int getNewPower() {
        return newPower;
    }

    public void setNewPower(int newPower) {
        this.newPower = newPower;
    }

    public int getDrawEventId() {
        return drawEventId;
    }

    public void setDrawEventId(int drawEventId) {
        this.drawEventId = drawEventId;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public long getOldCoin() {
        return oldCoin;
    }

    public void setOldCoin(long oldCoin) {
        this.oldCoin = oldCoin;
    }

    public long getGetCoin() {
        return getCoin;
    }

    public void setGetCoin(long getCoin) {
        this.getCoin = getCoin;
    }

    public long getNewCoin() {
        return newCoin;
    }

    public void setNewCoin(long newCoin) {
        this.newCoin = newCoin;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getBuilding() {
        return building;
    }

    public void setBuilding(String building) {
        this.building = building;
    }
}
